package com.san.hkhospital.service;

import java.util.List;
import com.san.hkhospital.entity.DepartmentExample;
import com.san.hkhospital.entity.Department;
import com.san.hkhospital.entity.DeptSection;

/**
 * ClassName:DepartmentService
 * PackageName:com.san.hkhospital.service
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 14:38
 * 
 */
 
 
public interface DepartmentService{


    long countByExample(DepartmentExample example);

    int deleteByExample(DepartmentExample example);

    int deleteByPrimaryKey(Integer deptId);

    int insert(Department record);

    int insertSelective(Department record);

    List<Department> selectByExample(DepartmentExample example);

    Department selectByPrimaryKey(Integer deptId);

    int updateByExampleSelective(Department record,DepartmentExample example);

    int updateByExample(Department record,DepartmentExample example);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);


    List<Department> selectDepartment();
}
